
try{
  $(document).ready(function() {
    var a = document.getElementsByTagName("html")[0].innerHTML.replace(/<!--\s?#include\sfile=\\?[\'\"][^\'\"]+\\?[\'\"]\s?-->/g, function(str) {
      var childFileSrc = str.replace(/[\\\'\"\>\(\);\s<!=-]/g, '').replace('#includefile', '');
      console.log(childFileSrc);
      var htmlobj = $.ajax({
        url: childFileSrc,
        async: false
      });
      return htmlobj.responseText;
    });
    document.getElementsByTagName("html")[0].innerHTML = a;
  });
}
catch(e){
  console.log("include支持模块错误: config/lib/inc_dev.js");
  console.log(e);
}
